<?php

/**
 * SearchForm class.
 * SearchForm is the data structure for searching
 * events form data. It is used by the 'index' action of 'Events/SearchController'.
 */
class SearchForm extends CFormModel
{
	public $ticket = null;
	public $title;
    public $category = null;
    public $start = null;
    public $end = null;
    public $location = null;

	public function rules()
	{
		return array(
			// username and password are required
			array('ticket, title, category, startdate, enddate, location', 'required'),
		);
	}

	public function attributeLabels()
	{
		return array(
		);
	}
}
